package com.cyzy.starterconfig;

import com.cyzy.utils.CodeUtils;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class StarterConfig {

    @Bean   //该方法的返回值，会注入Spring容器中
    public CodeUtils createCodeUtils() {
        return new CodeUtils();
    }


}
